package com.iqiyi.pps.epg.core.service.sginal;

import com.iqiyi.pps.epg.api.model.web.query.TFilter;
import com.iqiyi.pps.epg.api.model.web.query.TPage;
import com.iqiyi.pps.epg.api.model.web.sginal.TVersionControllerDataPage;
import com.iqiyi.pps.epg.core.model.sginal.VersionController;

import java.util.List;

/**
 * Created by yc on 2018/1/5.
 */
public interface VersionControllerService {
    public VersionController getVersionController(int id);
    public VersionController getVersionControllerByServerID(int serverId);
    public void deleteVersionController(VersionController entity);
    public VersionController string2VersionController(int serverId,String info,String mainVersion);
    public void insertOrUpdate(VersionController entity);
    public TVersionControllerDataPage getVersionControllerData(TPage page, TFilter filter);
    public List<String> getVersionHistory();
    public List<VersionController> getAll();
    public List<VersionController> getNewAll();

    public String getMainVersion();
    public int setMainVersion(String versions);
    public int synVersionStatus(String versions);
}
